package com.zzyl.nursing.task;

import com.zzyl.nursing.service.impl.ContractServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ContractTask {
    @Autowired
    private ContractServiceImpl contractService;

    /**
     * 定时任务
     */
    public void updateContractStatus() {
        contractService.updateContractStatus();
    }

}
